package temp1;

public class A {
	private String key;
	private String value;

	public A(String key, String value) {
		this.key = key;
		this.value = value;
	}

	@Override
	public boolean equals(Object obj) {
		return this.key.equals(((A) obj).key);
	}
}
